﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using KegData;

namespace KegManager
{
    class TapDisplay : DependencyObject
    {
        public static readonly DependencyProperty KegProperty = DependencyProperty.Register("Keg", typeof(Keg), typeof(TapDisplay));

        public Keg Keg
        {
            get { return (Keg)GetValue(KegProperty); }
            set { SetValue(KegProperty, value); }
        }

        public TapDisplay(Tap t1)
        {
            Keg = t1.Keg;
        }
    }
}
